package jp.ac.aiit.yc.sww.database.dao;

import java.sql.CallableStatement;
import java.sql.ResultSet;
import java.util.*;
import jp.ac.aiit.yc.sww.database.dto.SwwDtoIF;

public interface SwwDaoIF {
	public String getInsertSP();
	public CallableStatement setInsertParam(CallableStatement cstmt, SwwDtoIF dtoIF) throws Exception;

	public String getQuerySP();
	public CallableStatement setQueryParam(CallableStatement cstmt, SwwDtoIF dtoIF) throws Exception;

	public SwwDtoIF createDto(ResultSet rs) throws Exception;

	public boolean register(SwwDtoIF dto);

	public void setHeaders(Map<String,String> headers);
	public Map<String,String> getHeaders();

}